var t1 =setInterval(function(){
    var time = new Date();
    var time2 = new Date("2019-09-6");
    var time3 = time2.getTime() - time.getTime();
    var nut1 = time3 / (1000 * 3600);
    var nut2 = time3/(1000*60)%60;
    var nut3 = time3/(1000)%60;
    nut1 = Math.floor(nut1);
    nut2 = Math.floor(nut2);
    nut3 = Math.floor(nut3);
    if(nut1 <10){
        nut1 ="0" + nut1;
    }
    if(nut2 <10){
        nut2 = "0" + nut2;
    }
    if(nut3 <10){
        nut3 =  "0" + nut3;
    }
    document.querySelector("#text1").innerHTML = nut1;
    document.querySelector("#text2").innerHTML = nut2;
    document.querySelector("#text3").innerHTML = nut3;
    if (time3 == 0){
        clearInterval(t1);
    }
});